<?php echo '<?xml version="1.0" encoding="utf-8"?>'; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<title><?php echo $page_title; ?></title>
		<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
		<link href="/assets/css/layout.css" rel="stylesheet" type="text/css" />
		<?php echo $scripts; ?>
		
		<!--[if lte IE 7]>
		<link href="/assets/css/yaml/patches/patch_layouts.css" rel="stylesheet" type="text/css" />
		<![endif]-->
	</head>
	<body>
		<div class="page_margins">
			<div id="topnav">
				<a class="skip" title="skip link" href="#navigation">Skip to the navigation</a>
				<span class="hideme">.</span>
				<a class="skip" title="skip link" href="#content">Skip to the content</a>
				<span class="hideme">.</span>
				<a href="/index.php/user/login"><?= $this->lang->line('topnav_link_login'); ?></a> | 
				<a href="/index.php/misc/contacts"><?= $this->lang->line('topnav_link_contacts'); ?></a> | 
				<a href="/index.php/misc/print"><?= $this->lang->line('topnav_link_imprint'); ?></a>
			</div>
			<div class="page">
				<div id="header"><?= $legend; ?></div>
				<div id="nav">
					<a id="navigation" name="navigation"></a>
					<div class="hlist"><?php if ($main_menu) { echo $main_menu; } ?></div>
				</div>
				<div id="main">
					<div id="col1">
						<div id="col1_content" class="clearfix"><?php if ($left_column) { echo $left_column; } ?></div>
					</div>
					<div id="col2">
						<div id="col2_content" class="clearfix"><?php if ($right_column) { echo $right_column; } ?></div>
					</div>
					<div id="col3">
						<div id="col3_content" class="clearfix">
						<?php if ($messages) { echo $messages; } ?>
						<?php if ($content) { echo $content; } ?></div>
						<div id="ie_clearing"> &#160; </div>
					</div>
				</div>
				<div id="footer">
					<p><?= $footer_text; ?></p>
				</div>
			</div>
		</div>
	</body>
</html>
